package com.diandian.backend.member.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.diandian.backend.member.dto.DouyinLifeMemberInfoDetailParamDTO;

import java.io.Serializable;
import java.util.Date;

public class DouyinLifeMemberInfoDetailParam implements Serializable {

	private Long id;
	private String openId;
	private String mobile;
	private String accountId;
	private Double points;
	private String level;
	private String status;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private String createUserId;
	private String createUserName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private String updateUserId;
	private String updateUserName;
	private Integer del;

	public DouyinLifeMemberInfoDetailParamDTO toDTO(){
		DouyinLifeMemberInfoDetailParamDTO dto = new DouyinLifeMemberInfoDetailParamDTO();
		dto.setId(this.id);
		dto.setOpenId(this.openId);
		dto.setMobile(this.mobile);
		dto.setAccountId(this.accountId);
		dto.setPoints(this.points);
		dto.setLevel(this.level);
		dto.setStatus(this.status);
		dto.setCreateTime(this.createTime);
		dto.setCreateUserId(this.createUserId);
		dto.setCreateUserName(this.createUserName);
		dto.setUpdateTime(this.updateTime);
		dto.setUpdateUserId(this.updateUserId);
		dto.setUpdateUserName(this.updateUserName);
		dto.setDel(this.del);
		return dto;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public Double getPoints() {
		return points;
	}

	public void setPoints(Double points) {
		this.points = points;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}
}
